<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <link rel="stylesheet" th:href="@{css/base.css}">
  <link rel="stylesheet" th:href="@{css/expot.css}">
  <script th:src="@{js/flexible.js}"></script>
  <script th:src="@{js/zepto/zepto.min.js}"></script>
  <script th:src="@{js/fastclick.js}"></script>
  <script th:src="@{js/base.js}"></script>
  <title>素材收藏</title>
</head>
<body>
<div class="container">
  <div class="wrapper">
    <div class="success">
      <div class="success_ico">
        <img th:src="@{image/success.png}" alt="">
      </div>
      <div class="success_word">素材保存成功</div>
    </div>
    <div class="download">
      <div class="download_info">
        视频素材已放至<span class="userNum"></span>账户下
      </div>
      <div class="download_step">
        请到APP我的 【素材库】-->【云收藏夹】查看
      </div>
      <div class="download_btn" onclick="jump()">
        <img th:src="@{image/rightOff.png}" alt="">
      </div>
    </div>
  </div>
</div>
<div class="protective_cover"></div>
</body>
<script th:src="@{js/base64/base64.min.js}"></script>
<script>
  $(function () {
    FastClick.attach(document.body);//解决300ms点击延迟的问题iphone
    var phoneStr = Base64.decode(GetRequest().shareId).substring(3, 7);
    var signPhone = Base64.decode(GetRequest().shareId).replace(phoneStr, "****");
    $(".userNum").html(signPhone)
  })

  function jump() {
    var u = navigator.userAgent;
    if (/MicroMessenger/gi.test(u) || u.match(/QQ\//i) == "QQ/") {
      if (!!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)) {//ios环境)
        $(".protective_cover").css("background-image", "url([[@{image/ios.png}]])")
      }
      $(".protective_cover").show();
      return false;
    }
    jumpApp("huanai://ltx");
  }

  //  去掉引导
  $(".protective_cover").on("click", function () {
    $(this).hide();
  })
</script>
</html>